I have developed android program that save data on SQLite Database, I need to know where is the location of created database, furthermore, I need to save database file on the root of android device or on custom path, I don't need to save created file on hidden file.
Ahmed, an Android application has an "Internal" data area - that is, an area within the Android file system where data used by that application alone resides. An app's sqlite DB lives in this area.
You say that you want the DB to exist in the "root" area. In that case you're talking about "External" storage. It's called external because it is outside the app's assigned part of the file system. Most applications, that aren't part of the system, do NOT access External storage, and to do so an app requires special permissions that are not granted by default.
Can you explain more about what problem you're trying to solve by wanting to put your DB in External storage? There may be a more conventional and easier way to achieve your aims.
linear_layout_rb1 and linear_layout_rb2 appear to be sitting on top of each other. You need to go through each control individually and inspect the alignment-related elements (e.g., layout_toRightOf, layout_alignParentRight, layout_alignParentTop).
"One man's wage rise is another man's price increase." - Harold Wilson
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
"You can easily judge the character of a man by how he treats those who can do nothing for him." - James D. Miles
Hello there. I have written a code for 10" tablet with resolution of 2560 x 1600 and hardcoded values for it. The functionality is simple. I simply check whether current point on picture, in OnTouch event, lies in particular polygon or not. It works fine.
But the problem is, I have hardcoded values and now I am given a 7" tablet with resolution of 1200 x 1920. And my code does not work for it because of changed resolution. How do I handle this? I don't want to hardcode another set of values for 7" tablet. Thanks
NOTE: Picture resolution remains same 1500 x 1501 pixels.
But you can do one thing: Create an Android app with a WebView control, and then load your jQuery mobile project as a website in it. Make sure you are having all the HTML, and other files that you would be loading in the mobile project.
That is exactly what most cross-platform HTML frameworks support during mobile development, to run a website in a WebView.