Design and ship reliable Android apps. Learn Kotlin, Android Studio, Jetpack, Compose, data storage, networking, background work, testing, performance, accessibility, and Play Console publishing with patterns that scale to millions of users.
1,814 posts587 contributors
I am self employed C# developer. I want to learn android, but I am little bit confused about it. Should I learn Android Native or Xamarin Forms? I know Xamarin is a cross platform technology. But still I want to know that Which is better technology to develop android apps?
I'm targeting my app at SDK 28 so I need to use file provider to save captured image. My code function well for select image from gallery and successfully retrieved the intended image to next activity (DetectionActivity). However I couldnt retrieve the image captured from camera to (DetectionActivity). In this case, the image has been saved in my storage device so the file provider works well. Just that it wont display in next activity. I think its because of the image Uri but not so sure. Attached is my SelectImageActivity and DetectionActivity. Please help me on passing the image captured to DetectionActivity. p/s : the code got no error, it just allow user to open camera, snap picture but after that return to the same activity.
<local:VideoPlayer x:Name="videoplayer_ctrl" Source="{Binding videosource}" AutoPlay="{Binding autoplay}" AreTransportControlsEnabled="{Binding controlsenabled}" /> C# Code- protected override void OnElementChanged(ElementChangedEventArgs<VideoPlayer> args) { base.OnElementChanged(args); if (args.NewElement != null) { if (Control == null) { // Save the VideoView for future reference videoView = new VideoView(Context); // Put the VideoView in a RelativeLayout AWR relativeLayout = new AWR(Context); relativeLayout.AddView(videoView); // Center the VideoView in the RelativeLayout var layoutParams = new AWR.LayoutParams(Convert.ToInt32(DeviceDisplay.MainDisplayInfo.Width), Convert.ToInt32(DeviceDisplay.MainDisplayInfo.Height)); layoutParams.AddRule(LayoutRules.AlignParentTop); layoutParams.AddRule(LayoutRules.AlignParentBottom); layoutParams.AddRule(LayoutRules.AlignParentLeft); layoutP
Load 10 images first time and when we reached on 10th positon then remaing 10 images again load in xamain forms gridview.
Infinite Scroll in Carousel view in Xamarin forms.
How to redirect to pdf page using WebView in Flutter? My link redirects to pdf when it is clicked then how to redirect the link to pdf page with WebView in Flutter? Please help me ....
How to redirect to pdf page using WebView in Flutter? My link redirects to pdf when it is clicked then how to redirect the link to pdf page with WebView in Flutter? Please help me ....
I have installed Android Studio lastest version in windows 10. But when i swift off my pc and Re-open, android studio got disappeared. but its files keeps remain there but the application gets disappeared. This was happen when i updates gradles. Please help me how to fix it.
Hi every all, I am using Android Studio 4.0.1 and I need to learn some new functions at all (concerning connection to Mysql database). But there is a problem... I do search on the Net and I didnt found any complete tutorial on Android Studio 4.0 . I will appreciate a lot if anyone give me a link or a PDF complete tutorial concerning this version. Thank you a lot. Israel.
I read Amir Ali's article on retrieving drawable images and storing them in a SQLite database, but the code was for only a single image. In the app I'm currently developing, I need to display several images at once, plus then be able to display several new images on the next screen. With roughly 400 images in total to display. I have my Database Table created with data type "BLOB" for the images, but in the table, how do I reference the specific images to go in place? In the article there is the code: img1 = c.getBlob(c.getColumnIndex( "image" )); ... Bitmap b1 = BitmapFactory.decodeByteArray(img1, 0, img1.length); imageView.setImageBitmap(b1); Would I need to do that for every image and specifically put them in the table, or is there another way to reference them? Thank you in advance for your assistance with my problem.
hello guys i want to post when i click on my button then save data in database through api, i m using volley but this not done, please correct me where i am wrong below is my code of whole activity. public class addEmailFragment extends Fragment { private AddEmailViewModel mViewModel; TextView txtName; TextView txtEmail; CheckBox chEverDay; CheckBox chMonthly; public RequestQueue mQueue; public View onCreateView(@NonNull LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { mViewModel = ViewModelProviders.of( this ).get(AddEmailViewModel. class ); View&nbs
I'm here trying to develop an android app using Xamarin Cross-platform application. Here I face problem in saving the data to my local Database from my API Can anyone show me the simple application which deloped based on Xamarin and API logics
how to make search function with edittext . i have four edittext and one button. while user fill details the data fatch to sqlit and display to activity 2 page.plz help me.
For app development to use .net. I think there are two main ways to do: 1.Xamarin 2.no Xamarin, means (for Example 1.background:a service(EF,linq,webapi; wcf; or so on)) 2.front end :a UI (Html5,or so on) Can anyone give more suggestions that the technologies in .net we will use for App development. Very appreciate your help!
How to create service doing work at every specific period time in Xamarin.Android?
How to create chatbot Android app using Dialogflow and firebase
SDK is not found after installing android studio. The message in the subject appears when attempting to open SDK manager.
How to add button click event inside ListView in Xamarin Android
How to fill buttons [5][5] with numbers(1-25) at any buuton.there are 25 buttons and i want to fill up these buttons at onClick with numbers first starting with 1 and next with 2,3 upto 25.but at any place or at any button.
Greeting all I'll begining in futter study. I have been installing a visual studio code and setup a flutter too. Visual studio code version:February 2020 (version 1.43) Flutter Version: flutter_windows_v1.12.13+hotfix.5-stable_2 Laptop :Msi Cx623 (Ram 4 G.B) processor (Intel (R) Core (TM) I5 M640 2.53 GHz) My laptop hasn't a strong requirments to setup android studio . I searched in web to escap from unnecessary to setup Android studio, you can use an emulator for this mession (Vs Code with flutter) like ( a lite emulator ) if your device medium specification. So is anyone able to help me to indecate me for lite emulator to implement it with Visual studio code. thanks